package cn.bgs.service.impl;

import cn.bgs.dao.DeptMapper;
import cn.bgs.pojo.Dept;
import cn.bgs.service.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DeptServiceImpl implements DeptService {

    @Autowired
    private DeptMapper deptMapper;


    @Override
    public Dept findByIdDept(Integer id) {
        return deptMapper.findByIdDept(id);
    }

    @Override
    public Dept findByIdDeptfenbu(Integer id) {
        return deptMapper.findByIdDeptfenbu(id);
    }
}
